*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style-type: none;
}

:root{
    --bg-color: #101113;
    --text-color: #fff;
    --main-color: #ffd700;
    --h1-font:6rem;
    --p-font:1rem;
}

nav{
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 8%;
    transition: all .55s ease;
    background: transparent;
    
}
header{
    background-image: url(../media/banner-nosotros.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--text-color);
}

header::before{
    position: absolute;
    content: '';
    background-color: black;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .6;
}

.logo{
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 28px;
    font-weight: bold;

}

.logo i{
    color: var(--main-color);
    font-size: 32px;
    margin-right: 5px;
}

.navbar {
    display: flex;

}

.navbar a{
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight: 500;
    margin: 0 30px;
    transition: all .55s ease

}

.navbar a:hover{
    color: var(--main-color);
}

.navbar a.active{
    color: var(--main-color); 
}

.nav-icons{
    display: flex;
    align-items: center;
}

#menu-icon{
    font-size: 35px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display:none;
}

.nav-icons i{
    margin-right: 25px;
    font-size: 25px;
    cursor: pointer;
    transition: all .55s ease;

}

.nav-icons i:hover{
    transform: translateY(-5px);
    color: var(--main-color);
}

.h-btn{
    display: inline-block;
    padding: 10px 25px;
    color: var(--text-color);
    background: #1c7ce2;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    border: 2px solid #1c7ce2;
    margin-right: 20px;
    transition: all ease .55s;
}

.h-btn:hover{
    background: #4ca3ff;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

section{
    padding: 0 12%;
}

.home{
    position: relative;
    width: 100%;
    height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
}

.coursesearch input{
    background: #0d0f14;
    border: 1px solid #ffd700;
    border-radius: .5rem;
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    height: 40px;
    width: 100%;
    color: #fff;
    letter-spacing: .16px;
    font-size: 1rem;
    font-weight: 400;
    padding: .375rem 2.5rem .375rem 1rem;
}


.home{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.home h1{
    font-size: 50px;
}

.coursesearch{
    padding: 0 20%;
}

.home-text span{
    color: var(--main-color);
}

@media (max-width: 1070px){
    header{
        padding: 10px 3%;
        background-color: var(--text-color);
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        position: absolute;
        top: -700;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background-color: #000;
        transition: all ease .55s;
        text-align: left;

    }
    .navbar a{
        display: block;
        font-size: 23px;
        font-weight: 400;
        margin: 0.8rem 1.8rem;
        color: var(--text-color);
    }
    .navbar.open{
        top:100%
    }
}

section.mision-vision{
    background-color: #fff;
}


hr .line-oferta-basic{
    vertical-align: middle;
    width: 30%;
    display: inline-block;
    border: 1px solid black; 
}

hr .line-oferta-premiun{
    vertical-align: middle;
    width: 30%;
    display: inline-block;
    border: 1px solid black; 
}


/* MISION Y VISION */

section.mision-vision{
    width: 100%;
}

.container-mision, .container-vision{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: center;
}

.mision-vision img{ 
    width: 100%;
}



/* TESTIMONIOS */
.flex-div{
    display: flex;
    gap: 4px;
    justify-content: space-between;

}

.input-two{
    display:block;
    width: 50%;
}

section.testimonios{
    width: 100%; 
}

.container-testimonios{
    padding: 15% 5%;
    
}

.testimonios-empresas{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 10px;
    padding: 1% 8%;
}


.testimonios-txt{
    align-items: center;
    justify-content: center;
}

section.testimonios article{ 
    padding: 6% 3%;
    border: 1px solid;
    border-radius: 6px;
    margin: 0 auto; 
    align-items: center;
    text-align: center;
}

.img-testimonios{
    width: 300px;
    height: 300px;
    margin: auto;
    object-fit: cover;

}

.testimonios-txt h2,p{
    color: black;
    padding: 1% 0;
    justify-content: center;
    text-align: center;
}

.testimonios-txt h2{
    font-size: 35px;
}

section.testimonios article p,h4{
    text-align: left;
    padding: 0 auto;
    margin: 10% 0;
}

section.testimonios h4{
    font-size: 25px;
}

section.preguntas{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    margin-top: 80px;
}

section.preguntas .preguntas-text h2{
    text-align: center;
    font-size: 25px;
    margin-bottom: 35px;

}

.acordeon{
    background-color: #fff;
    padding-bottom: 2px;
}

.acordeon label{
    display: block;
    padding: 20px;
    font-size: 20px;
    background: #1c1c1c;
    color: var(--text-color);
    cursor: pointer;
    margin-bottom: 2px;
    transition: all 30ms ease;

}


.acordeon label:hover{
    background: #2e2e2e;
}

.acordeon .contenido-acordeon{
    padding: 0;
    margin: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
}

.btn-acordeon:checked ~ .contenido-acordeon{
    max-height: 600px;
    padding: 15px 0 px;
}

.btn-acordeon{
    display: none;
}

@media screen and (max-width: 900px){
    .contenido-acordeon{
        width: 90%;

    }
}